home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
ENVIRON.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-03-10
|
523b
|
22 lines
/* support for environment variables */
struct env_var {
struct env_var *left,*right; /* tree pointers */
char *value; /* var value */
char value_alloc; /* value is alloced? */
char name[1]; /* var name, \0 terminated */
};
#define NULLENV ((struct env_var *) 0)
#define NULLCHRP ((char **) 0)
struct env_default {
char *name; /* the name */
char *value; /* it's default value */
};
void readenv(),free_env();
char **make_env();
char *getenv(),*getnenv();
struct env_var *setenv();